package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author auto
 * @since 2022-09-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_order_shopify_shipping_lines")
public class OrderShopifyShippingLinesDo extends Model<OrderShopifyShippingLinesDo> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @TableField("order_id")
    private Long orderId;

    @TableField("carrier_identifier")
    private String carrierIdentifier;

    @TableField("code")
    private String code;

    @TableField("delivery_category")
    private String deliveryCategory;

    @TableField("discounted_price")
    private Double discountedPrice;

    @TableField("phone")
    private String phone;

    @TableField("price")
    private Double price;

    @TableField("requested_fulfillment_service_id")
    private Long requestedFulfillmentServiceId;

    @TableField("source")
    private String source;

    @TableField("title")
    private String title;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
